/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const safetyRouter = {
  path: '/safety',
  component: Layout,
  redirect: '/safety/guise',
  name: 'Safety',
  meta: {
    title: '安全分析',
    icon: 'table'
  },
  
  children: [
    {
      path: 'caveat',
      component: () => import('@/views/safety/caveat'),
      name: 'caveat',
      meta: {
        title: '安全告警'
      }
    },
    {
      path: 'audit',
      component: () => import('@/views/safety/audit'),
      name: 'audit',
      meta: {
        title: '安全审计'
      }
    },
    {
      path: 'report',
      component: () => import('@/views/safety/report'),
      name: 'report',
      meta: {
        title: '安全报表'
      }
    }
  ]
}
export default safetyRouter